import Vue from "vue";
import App from "./App.vue";
import router from "./router";
import store from "./store";//引入store。vuex的仓库：存放公共状态(数据)

Vue.config.productionTip = false;

new Vue({
  router,//未来找到路由对象： this.$router  this.$route
  store,//将store注入到vue实例里面。后期可以通过 this.$store
  render: h => h(App)
}).$mount("#app");
